<template>
    <p class="read-the-docs">这是IndexExport页面</p>
    <button @click="btnClick">点击跳页</button>

  </template>
<script>
    import { useRouter } from 'vue-router'
    export default{
      name: 'IndexExport',
      setup(props,context) {
        const router = useRouter()
        const btnClick = () => {
          router.push('/index')
        }
        return {
          btnClick,
        }
      }
    }
</script>
    
  <style scoped>
  .read-the-docs {
    color: #888;
  }
  </style>
  